/*
 * @Author: xiaosihan
 * @Date: 2021-03-30 22:57:45
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2021-05-19 01:50:12
 */

import * as THREE from "three";

export default function Material_mixin() {

    Object.assign(THREE.Material.prototype, {

        // 是否支持被裁剪
        clipping: true,

        //阴影裁剪
        clipShadows: true
    });
}